package entity.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-14
 */
@Getter
@Setter
@TableName("sa_workattendance")
public class Workattendance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "kq_id", type = IdType.AUTO)
    private Integer kqId;

    /**
     * 工作日加班费
     */
    @TableField("workday_pay")
    private Double workdayPay;

    /**
     * 休息日加班费
     */
    @TableField("day_off")
    private Double dayOff;

    /**
     * 节假日加班费
     */
    @TableField("estivals_pay")
    private Double estivalsPay;

    /**
     * 月计薪时长
     */
    @TableField("monthlypay_time")
    private Date monthlypayTime;

    /**
     * 实际计薪时长
     */
    @TableField("actualpaid_hours")
    private Date actualpaidHours;

    /**
     * 转正前应出勤时长
     */
    @TableField("transfer_time")
    private Date transferTime;

    /**
     * 转正后应出勤时长
     */
    @TableField("regularduty_time")
    private Date regulardutyTime;

    /**
     * 调薪前应出勤时长
     */
    @TableField("adjustment_time")
    private Date adjustmentTime;

    /**
     * 调薪后应出勤时长
     */
    @TableField("aftersalary_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date aftersalaryTime;

    /**
     * 累计收入额
     */
    @TableField("cumulative_income")
    private Double cumulativeIncome;

    /**
     * 累计减除费用
     */
    @TableField("deducting_expenses")
    private Double deductingExpenses;

    /**
     * 累计专项扣除
     */
    @TableField("special_deduction")
    private Double specialDeduction;

    /**
     * 累计应纳税额
     */
    @TableField("amount_payable")
    private Double amountPayable;

    /**
     * 累计子女教育
     */
    @TableField("children_education")
    private Double childrenEducation;

    /**
     * 累计住房租金
     */
    @TableField("housing_rent")
    private Double housingRent;

    /**
     * 累计住房贷款利息
     */
    @TableField("housingloan_interest")
    private Double housingloanInterest;

    /**
     * 累计赡养老人
     */
    @TableField("supportthe_old")
    private Double supporttheOld;

    /**
     * 累计继续教育
     */
    @TableField("adult_education")
    private Double adultEducation;

    /**
     * 累计3岁以下婴幼儿照顾
     */
    @TableField("Infant_care")
    private Double infantCare;

    /**
     * 备注
     */
    @TableField("back")
    private String back;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 删除标志()
     */
    @TableField("delete_flag")
    private Integer deleteFlag;


}
